<template>
<div>
  login
  <pre>
    {{route}}
  </pre>
</div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
import { useRoute } from 'vue-router'
import { useStore } from 'vuex'

export default defineComponent({
  setup () {
    const route = useRoute()
    const store = useStore()
    console.log(store.state.count)
    return {
      route
    }
  }
})
</script>

<style scoped>

</style>
